export interface ButtonProp {
  label: string;
  permission?: string;
  hide: ((params?: any) => boolean) | boolean;
  displayPosition: 0 | 1; // 0 显示在里面  1 显示在外面
  icon?: string;
  method?: (params: any, index: number) => void;
  openMenu?: boolean;
}
